package com.api.common.entity;

import lombok.Data;

@Data
public class CommonResult<T> {

    private Integer ResponeCode;
    private String ResponeMessage;
    private T ResponeData;

    public CommonResult() {
    }

    public CommonResult(Integer responeCode, String responeMessage) {
        ResponeCode = responeCode;
        ResponeMessage = responeMessage;
    }

    public CommonResult(Integer responeCode, String responeMessage, T responeData) {
        ResponeCode = responeCode;
        ResponeMessage = responeMessage;
        ResponeData = responeData;
    }
}
